Thực đơn
Bản_mẫu:Tham_khảo Gom chú thích theo nhómThẻ <ref> giờ đã hỗ trợ gom các chú thích theo nhóm và hiển thị các nhóm là các danh sách độc lập rời nhau — xem Wikipedia:Chú thích cuối bài#Danh sách tham khảo và ghi chú giải thích rời nhau.
Định dạng chung cho thẻ tham khảo sẽ là:
<ref group=tênnhóm>
Và đối với bản mẫu Tham khảo:
{{Tham khảo|group=tênnhóm}}Trong đó tênnhóm là định danh nhóm như "ghi chú", "nb" hoặc "nhãn" (phải dùng dấu ngoặc kép trong trường hợp tên nhóm có chứa khoảng trắng).
Ví dụ, để tạo một danh sách ghi chú định dạng riêng rẽ, các tham khảo sẽ được định dạng thành:
<ref group=note>
Để tạo danh sách được định dạng:
== Tham khảo =={{Tham khảo|group=note}}
Tuy có thể tạo và liệt kê bao nhiêu nhóm cũng được, nên giữ số lượng nhóm ở mức tối thiểu.
Loại nhóm | Bản mẫu đánh dấu ghi chú cuối trang hoặc mã | Bản mẫu danh sách tham khảo | Các nhãn mẫu |
---|---|---|---|
none | <ref>...</ref> | {{tham khảo}} | 1 2 3 4 5 6 7 8 9 10 |
none | {{refn}} for nested references | {{tham khảo}} | 1 2 3 4 5 6 7 8 9 10 |
lower-alpha | {{efn}} | {{notelist}} | a b c d e f g h i j |
upper-alpha | {{efn-ua}} | {{notelist-ua}} | A B C D E F G H I J |
lower-roman | {{efn-lr}} | {{notelist-lr}} | i ii iii iv v vi vii viii ix x |
upper-roman | {{efn-ur}} | {{notelist-ur}} | I II III IV V VI VII VIII IX X |
lower-greek[lower-alpha 1] | {{efn-lg}} | {{notelist-lg}} | α β γ δ ε ζ η θ ι κ |
{{efn}}
supports |name=
and |group=
, which work the same as the parameters in <ref>
. Do not enclose values in quotes.{{notelist}}
supports the column parameter, |refs=
and |group=
which work the same as the parameters in {{tham khảo}}
. Do not enclose values in quotes.In these examples, the footnote labels match between the footnote marker and the reference list:
Cú pháp | Kết quả |
---|---|
Lorem ipsum dolor sit amet.{{efn|Footnote 1}} Consectetur adipisicing elit.{{efn|Footnote 2}} Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{{efn|Footnote 3}}{{notelist}} | Lorem ipsum dolor sit amet.[lower-alpha 1] Consectetur adipisicing elit.[lower-alpha 2] Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[lower-alpha 3] |
Cú pháp | Kết quả |
---|---|
Lorem ipsum dolor sit amet.{{efn-lr|Footnote 1}} Consectetur adipisicing elit.{{efn-lr|Footnote 2}} Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{{efn-lr|Footnote 3}}{{notelist-lr}} | Lorem ipsum dolor sit amet.[lower-roman 1] Consectetur adipisicing elit.[lower-roman 2] Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[lower-roman 3] |
Cú pháp | Kết quả |
---|---|
Lorem ipsum dolor sit amet.{{efn|name=fn1|Footnote 1}} Consectetur adipisicing elit.{{efn|Footnote 2}} Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{{efn|name=fn1}}{{notelist}} | Lorem ipsum dolor sit amet.[lower-alpha 1] Consectetur adipisicing elit.[lower-alpha 2] Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[lower-alpha 1] |
Cú pháp | Kết quả |
---|---|
Lorem ipsum dolor sit amet.{{efn|name=fn1}} Consectetur adipisicing elit.{{efn|name=fn2}} Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.{{efn|name=fn1}}{{notelist|refs={{efn|name=fn1|Very long footnote 1}}{{efn|name=fn2|Very long footnote 2}}}} | Lorem ipsum dolor sit amet.[lower-alpha 1] Consectetur adipisicing elit.[lower-alpha 2] Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[lower-alpha 1] |
Thực đơn
Bản_mẫu:Tham_khảo Gom chú thích theo nhómLiên quan
Bản Máy Bản mở rộng Bản Mế Bản Motet Bản Mù Bản mạch chủ Bản mẫu Bản danh sách của Schindler Bảng mã IOC Bản quyền thể thao tại Việt NamTài liệu tham khảo
WikiPedia: Bản_mẫu:Tham_khảo http://msdn.microsoft.com/en-us/library/cc351024(V... http://www.w3.org/TR/css3-multicol/ http://www.stuffandnonsense.co.uk/archives/css3_mu... https://bambots.brucemyers.com/TemplateParam.php?w... https://tools.wmflabs.org/templatecount/index.php?...